﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="manilist.aspx.cs" Inherits="changyong_manilist" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title> <link href="../css/addbook.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <center>
        <div class="wrap">
	<div class="top">
    	<div class="top1">
        
           
        </div>
        
     </div>
            
        
    <div class="shortnfo">
         <h2>当前位置：常用业务->进货单</h2>
     <div class="menuitems">
        
       

           <ul>
                      <li><a id="A1" href="../master/index.aspx" runat="server">首页</a></li>
                       <li><a id="A2" href="~/changyong/add_manlist.aspx" runat="server">添加进货单</a></li>
                      <li><a href="../master/changyong.aspx">退出</a></li>
                  </ul>
         
     </div>
    </div>

<div class="content">
     <table border="0" style="table-layout:fixed;width:100%;text-align:left;height:100%" >
         <tr>
             <td>货单号：<br /><asp:TextBox ID="goodsid" runat="server"></asp:TextBox>
             </td>
              <td>图书名称：<asp:TextBox ID="bookname" runat="server" ></asp:TextBox>
             </td>
             <td>
                 <br />
                 <asp:Button ID="Button1" runat="server" Text="查询" OnClick="Button1_Click" />

             </td>


             
             
         </tr>
  <tr>
      <td colspan="3">
          <asp:GridView ID="G1" runat="server" AutoGenerateColumns="False" DataKeyNames="货单号" Height="100%" Width="100%" AllowPaging="true"  PageSize="5" OnPageIndexChanging="G1_PageIndexChanging">
              <Columns>
                  <asp:BoundField DataField="货单号" HeaderText="货单号" ReadOnly="True"  SortExpression="货单号" >
                  <FooterStyle HorizontalAlign="Center" />
                  </asp:BoundField>
                  <asp:BoundField DataField="图书名称" HeaderText="图书名称" SortExpression="图书名称" >
                  <FooterStyle HorizontalAlign="Center" />
                  </asp:BoundField>
                  <asp:BoundField DataField="数量" HeaderText="数量" SortExpression="数量" >
                  <FooterStyle HorizontalAlign="Center" />
                  </asp:BoundField>
                  <asp:BoundField DataField="单价" HeaderText="单价" SortExpression="单价" >
                  <FooterStyle HorizontalAlign="Center" />
                  </asp:BoundField>
                  <asp:BoundField DataField="总价格" HeaderText="总价格" SortExpression="总价格" >
                  <FooterStyle HorizontalAlign="Center" />
                  </asp:BoundField>
              </Columns>
              <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
              <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
              <RowStyle HorizontalAlign="Center" Height="46px" VerticalAlign="Middle" />
          </asp:GridView>
          <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" SelectCommand="select *  from manilist"></asp:SqlDataSource>
      </td>
  </tr>
</table>
    </div>
       <div class="footer">
    <p>Copyright &copy;2019  All Rights Reserved</p> 
     </div>
      	
    </div>
    
           </center>
</div> 
    </form>
</body>
</html>
